﻿package jokers.JAdv {
	import jokers.*;
	import jokers.JAdv.*;
	
	public class JChapter3 extends JChapter {
		//初始化章节
		public override function initChapter():void{
			JPara.timer_total = 61;
			JPara.crystalNum = 7;
					
			JPara.toolEnable = "100000000000";
		}
		
		//特殊关卡会要求刷新特殊数据
		public override function run():void{
		}
		
		//是否胜利
		public override function isWin():Boolean{
			return JPara.num_tool[JTool.TOOL_SEARCH] >= 5;
		}
		
		//胜利后对系统数据的修改
		public override function winSet():void{
			JPara.long_combo = true;
		}
		
		//文字版提醒
		public override function showTips():String{
			var ret:String = "";
			
			ret = "已经获得放大镜：" + JPara.num_tool[JTool.TOOL_SEARCH] + "/5";
			
			return ret;
		}
		
		//是否有自定义星级 -1:表示没有自定义 1~3表示星级
		public override function getStar():int{
			return 3;
		}
	}
	
}
